package com.four.dao;

import com.four.pojo.Product;
import com.four.pojo.Records;
import com.four.pojo.Recordscr;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository("recordsMapper")
public interface RecordsMapper {

    List<Product> recordsAll();//消耗查询信息

    List<Recordscr> recordscrAll();//消耗记录查询信息

    int addRecords(Product product);//添加商品库存


    List<Recordscr> recordsAllBy(Recordscr recordscr);//模糊查询



    Product recordsBY(int pid);//指定查询


    int uprecords(Product product);//入库

    int addRecordsRu(Recordscr recordscr);//入库记录

    int OutRecords(Product product);//出库

    int addRecordsChu(Recordscr recordscr);//出库记录



}